package com.huajiao.management_system.dao;

import com.huajiao.management_system.bean.paperRes;
import com.huajiao.management_system.util.PageQueryUtil;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface paperResMapper {
    List<paperRes> selectByType(Map map);

    List<paperRes> selectByKeyword(Map map);

    int insertSelective(paperRes paperres);

    int updateByPrimaryKeySelective(paperRes paperres);

    int deleteBatch(Integer[] ids);

    int getTotal(Map map);

    int getTotalpaperRes(Map map);

    List<paperRes> getAll();

}
